package fifth.Method;

public class Substring {
    /*
    字符串截取
     */
    public static void main(String[] args) {
        String s  ="Processfinishedwithexitcode0";
        System.out.println(s.substring(7));//从第七个位置开始截取
        System.out.println(s.substring(0,5));//从0-5截取
    }
}
